/**
 * Created by ${PRODUCT_NAME}.
 * User: skylerparr
 * Date: 12/27/10
 * Time: 9:03 AM
 * To change this template use File | Settings | File Templates.
 */
package com.thoughtorigin.util {
public interface Instantiator {

    /**
     *
     * @param clazz
     * @param args
     * @return
     */
    function create(clazz: Class, args: Array): Object;

    /**
     *
     * @param className
     * @param args
     * @return
     */
    function createByClassName(className: String, args: Array): Object;

    /**
     *
     * @param className
     * @return
     */
    function getClassByName(className: String): Class;

}
}
